From 4d872314e5a555292eca1e0e783f96055cf79006 Mon Sep 17 00:00:00 2001 From: "iap10@freefall.cl.cam.ac.uk" Date: Mon, 18 Apr 2005 21:35:16 +0000 Subject: [PATCH] bitkeeper revision 1.1159.258.102 (42642814jW88x6oBUhJL6cOEJiTYjA) Add a check for the 'ip' iproute tools in the install script. Suggested by Sam Johnston [samjie@gmail.com] Signed-off-by: ian@xensource.com --- .rootkeys | 1 + tools/check/check_iproute | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100755 tools/check/check_iproute diff --git a/.rootkeys b/.rootkeys index 6f778d6167..37c455d2bd 100644 --- a/.rootkeys +++ b/.rootkeys @@ -376,6 +376,7 @@ 4124b307jt7T3CHysgl9LijNHSe1tA tools/check/check_brctl 4124b307HDX972-zihuZWXB7R8Vd0w tools/check/check_curl_devel 4124b307P3bZBkTFm6r-3XTbf0phAA tools/check/check_curl_lib +42642813SYRkwr07qVZ9eCI5QTZANg tools/check/check_iproute 4124b307u-FeKvFP9kZnh0rLV0XjGg tools/check/check_logging 4124b307tRTjLqzRy60QrUoqN2Fhuw tools/check/check_python 4124b307XdznSNCv97lrT3RpOdMM1A tools/check/check_twisted diff --git a/tools/check/check_iproute b/tools/check/check_iproute new file mode 100755 index 0000000000..663e0788e5 --- /dev/null +++ b/tools/check/check_iproute @@ -0,0 +1,10 @@ +#!/bin/bash +# CHECK-INSTALL + +function error { + echo 'Check for iproute (ip addr) failed.' + exit 1 +} + +ip addr list || error + -- 2.30.2